import { sidebar } from "vuepress-theme-hope";

export const zhSidebar = sidebar({
  "/": [
    {
      text: "性能测试",
      icon: "light",
      link: "/docs/testlife/performance/",
      prefix: "/docs/testlife/performance/",
      collapsible: true,
      children: [
        {
          text: "Jmeter自定义函数助手",
          icon: "note",
          link: "CustomJmeterFunctions",
        },
      ]
    },
    {
      text: "渗透测试",
      icon: "token",
      link: "/docs/testlife/penetration/",
      prefix: "/docs/testlife/penetration/",
      collapsible: true,
    },
    {
      text: "自动化测试",
      icon: "state",
      link: "/docs/testlife/autotest/",
      prefix: "/docs/testlife/autotest/",
      collapsible: true,
      children: [
        {
          text: "Web Excel测试",
          icon: "note",
          link: "WebExcel",
        },
        {
          text: "Android Excel测试",
          icon: "note",
          link: "AndroidExcel",
        },
        {
          text: "Postman+Newman+Jenkins+Git自动化测试",
          icon: "note",
          link: "NewmanTest",
        },
        {
          text: "API接口DTO测试数据构造一",
          icon: "note",
          link: "ApiDtoDataBuildOne",
        },
      ],
    },
    {
      text: "代码笔记",
      icon: "code",
      link: "/docs/codelife/",
      prefix: "/docs/codelife/",
      collapsible: true,
      children: [
        {
          text: "Java",
          icon: "java",
          prefix: "java/",
          link: "java/",
          collapsible: true,
          children: [
            {
            text: "Stream API操作",
            icon: "java",
            link: "StreamAPI",
            },
            {
              text: "01 Java开发规范",
              icon: "java",
              link: "Java开发规范",
            },
          ]
        },
        {
          text: "Python",
          icon: "python",
          link: "python/",
          prefix: "python/",
          collapsible: true,
          children: [
            {
            text: "01_Python开发规范",
            icon: "python",
            link: "01_Python开发规范",
            },
            {
              text: "02_Python常用函数",
              icon: "python",
              link: "02_Python常用函数",
            },
            {
              text: "03_Python日常小技巧",
              icon: "python",
              link: "03_Python日常小技巧",
            },
            {
              text: "04_Python字符串格式化",
              icon: "python",
              link: "04_Python字符串格式化",
            },
            {
              text: "05_第三方常用库",
              icon: "python",
              link: "05_第三方常用库",
            },
            {
              text: "06_Pytest学习笔记",
              icon: "python",
              link: "06_Pytest学习笔记",
            },
            {
              text: "07_Python常见数据类型转换",
              icon: "python",
              link: "07_Python常见数据类型转换",
            },
            {
              text: "语法糖: Python推导式",
              icon: "python",
              link: "99_Python推导式",
            },
          ]
        },
        {
          text: "前端开发",
          icon: "discover",
          prefix: "front/",
          link: "front/",
          collapsible: true,
        },
        {
          text: "算法与数据结构",
          icon: "ability",
          prefix: "algorithm/",
          link: "algorithm/",
          collapsible: true,
        },
      ]
    },
    {
      text: "环境部署",
      icon: "shell",
      link: "/docs/testlife/envdeploy/",
      prefix: "/docs/testlife/envdeploy/",
      collapsible: true,
    },
    {
      text: "数据库相关",
      icon: "mysql",
      link: "/docs/testlife/database/",
      prefix: "/docs/testlife/database/",
      collapsible: true,
      children: [
        {
          text: "常用函数及语法",
          icon: "mysql",
          link: "SQL语法及函数"
        },
        {
          text: "EXPLAIN分析执行计划",
          icon: "note",
          link: "EXPLAIN分析执行计划"
        },
        {
          text: "理解Mysql索引数据结构B+树",
          icon: "mysql",
          link: "一文看懂MYSQL索引结构B+树"
        },
      ]
    },
    {
      text: "操作系统",
      icon: "relation",
      link: "/docs/testlife/os/",
      prefix: "/docs/testlife/os/",
      collapsible: true,
      children: [
        {
          text: "Linux系统监控命令",
          icon: "skill",
          link: "Linux系统监控命令"
        },
      ]
    },
  ],
  // 资源分享侧边栏
  "/projects/": [
    {
      text: "技术教程",
      icon: "guide",
      collapsible: true,
      link: "/projects/techguide/",
    },
    {
      text: "实战项目",
      icon: "workingDirectory",
      collapsible: true,
      link: "/projects/pracprojects/",
    },
    {
      text: "系统设计",
      icon: "shell",
      collapsible: true,
      link: "/projects/systemdesign/",
    },
    {
      text: "工具类库",
      icon: "module",
      collapsible: true,
      link: "/projects/toollibrary/",
    },
  ],

});
